package com.CmJava.servlet.modelAndView;

import java.util.LinkedHashMap;

public class ModelMap extends LinkedHashMap<String, Object> {
    public ModelMap() {
    }

    public ModelMap(String attributeName, Object attributeValue) {
        this.addAttribute(attributeName, attributeValue);
    }


    public ModelMap addAttribute(String attributeName, Object attributeValue) {
        this.put(attributeName, attributeValue);
        return this;
    }
}
